import Vue from "vue";
import Vuex from "vuex";
import user from "./modules/user";
import permission from "./modules/permission";
// import persistedState from 'vuex-persistedstate'
import getters from "./getters";
Vue.use(Vuex);

export default new Vuex.Store({
	getters,
	modules: {
		user,
		permission,
	},
	// plugins: [
	//   persistedState({ storage: window.localStorage })
	// ],
});
